//
//  UserModel.swift
//  SwiftWB
//
//  Created by 钟清 on 17/4/1.
//  Copyright © 2017年 Zhong Qing. All rights reserved.
//

import UIKit

class UserModel: NSObject {
    /* 字符串型的用户UID */
    var idStr: String?
    /* 用户昵称 */
    var screen_name: String?
    /* 用户头像地址，50X50像素 */
    var profile_image_url: String?
    /* 用户认证类型 */
    var verified_type: Int = -1
    /* 会员等级 */
    var mbrank: Int = -1
    
    init(dict: [String : AnyObject]) {
        super.init()
        setValuesForKeysWithDictionary(dict)
    }
    override func setValue(value: AnyObject?, forUndefinedKey key: String) {
        
    }
    override var description: String {
        let property = ["idStr","screen_name","profile_image_url","verified_type","mbrank"]
        let dict = dictionaryWithValuesForKeys(property)
        return "\(dict)"
    }

}
